const express = require('express');
const router = express.Router();
const { auth } = require('../middlewares/auth');
const pointsController = require('../controllers/points.controller');

// Protected routes
router.get('/records', auth, pointsController.getPointsRecords);
router.get('/today', auth, pointsController.getTodayPoints);

module.exports = router; 